﻿using System.Threading.Tasks;

namespace Sustainalytics.Blob
{
    public interface IBlobManager
    {
        Task UploadText(string blobName, string content);
        Task<string> DownloadText(string blobName);
        Task UploadBytes(string blobName, byte[] content);
        Task<byte[]> DownloadBytes(string blobName);
        Task<bool> DeleteBlob(string blobName);
        Task<bool> DeleteRootFolder(string rootFolderName);
        Task<bool> BlobExists(string blobName);
    }
}
